package com.qdlc.p2p.biz.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.qdlc.p2p.biz.service.TppMerchantLogService;
import com.qdlc.p2p.dal.common.model.jpa.PageDataList;
import com.qdlc.p2p.dal.dao.TppMerchantLogDao;
import com.qdlc.p2p.dal.dto.TppMerchantLog;
import com.qdlc.p2p.dal.model.TppMerchantLogModel;

@Service("tppMerchantLogService")
public class TppMerchantLogServiceImpl implements TppMerchantLogService {

    @Resource
    private TppMerchantLogDao tppMerchantLogDao;

    @Override
    public void save(TppMerchantLog tppMerchantLog) {
        tppMerchantLogDao.save(tppMerchantLog);
    }

    @Override
    public void update(TppMerchantLog tppMerchantLog) {
        tppMerchantLogDao.update(tppMerchantLog);
    }

    @Override
    public PageDataList<TppMerchantLogModel> list(TppMerchantLogModel model) {
        return tppMerchantLogDao.list(model);
    }
}
